<template>
  <div class="index-wrap">
  <div class="cars-item"></div>
    <header>
      <h4 class="cars-logo">
        <img src="" alt="">
        <span class="name">2019</span>
      </h4>
      <p class="cars-attr">新能源汽车  5座</p>
    </header>
    <div class="cars-content"></div>
    <footer></footer>
    <span @click="user">汽车列表</span>
  </div>
</template>

<script>
export default {
  name: "Cars",
  data() {
    return {
    };
  },
  methods: {
    user() {
      this.$router.push({
        name: "User"
      })
    }
  }
};
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>
